package com.yqg.protection.controller.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.yqg.protection.cover.LocalDateTimeConverter;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * fire_com_sense 实体类
 *
 * @author zxf
 * @since 2024-09-11
 */
@Data
public class ImportFireComSenseDto implements Serializable {

    @ExcelProperty(value = "常识名称(必填)", index = 0)
    @ApiModelProperty("常识名称")
    private String comSenseName;

    @ExcelProperty(value = "常识文件", index = 1)
    @ApiModelProperty("常识文件")
    private String fileUrl;

    @ExcelProperty(value = "输入日期", index = 2, converter = LocalDateTimeConverter.class)
    @ApiModelProperty("输入日期")
    private LocalDateTime enterDate;

    @ExcelProperty(value = "输入人姓名(必填)", index = 3)
    @ApiModelProperty("输入人姓名")
    private String enterName;

}
